package com.youdoneed.base.common;

/**
 * created by zxx
 */
public class SwaggerHost {

    public static final boolean DEBUG = false;

    //    www.xiaocuitech.com/coolface/community
    private static String DEV_URL = "192.168.188.7";
    private static String PRODUCT_URL = "www.xiaocuitech.com/coolface";


    /**
     * swagger  host 地址，方便切换开发环境和上线环境
     * @return
     */
    public static String host() {
        if (DEBUG) {
            return DEV_URL;
        }else {
            return PRODUCT_URL;
        }
    }


}
